import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue(App)
app.$mount()

export default {
  // 这个字段走 app.json
  config: {
    pages: [
      // "^pages/order/order",
      "pages/order/order",
      "pages/setPrice/setPrice",
      "pages/Information/Information",
      "pages/personalityTags/personalityTags",
      "pages/position/position",
      "pages/editRoom/editRoom",
      "^pages/editSound/editSound",
      "pages/personalityLabel/personalityLabel",
      "pages/index/index",
      "pages/sound/sound",
      "pages/commentDetails/commentDetails",
      "pages/room/room",
      "pages/login/login",
      "pages/topic/topic",
      "pages/personal/personal",
      "pages/test/test",
      "pages/logs/logs"
    ], // 页面前带有 ^ 符号的，会被编译成首页，其他页面可以选填，我们会自动把 webpack entry 里面的入口页面加进去
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#fff',
      navigationBarTitleText: 'WeChat',
      navigationBarTextStyle: 'black'
    },
    tabBar: {
      "color": "#8d8d8d",
      "selectedColor": "#e36356",
      "backgroundColor": "#eee",
      "borderStyle": "white",
      "list": [
        {
          "pagePath": "pages/index/index",
          "iconPath": "static/images/icon_house.png",
          "selectedIconPath": "static/images/selected_house.png",
          "text": "一刻"
        },
        {
          "pagePath": "pages/topic/topic",
          "iconPath": "static/images/icon_topic.png",
          "selectedIconPath": "static/images/selected_topic.png",
          "text": "话题"
        },
        {
          "pagePath": "pages/personal/personal",
          "iconPath": "static/images/icon_my.png",
          "selectedIconPath": "static/images/selected_my.png",
          "text": "我的"
        }
      ]
    }
  }
}
